<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<style type="text/css">			
	#content { width: 75%; margin: 0 auto; }
	label { font-weight: bold; display: inline-block;
		width: 15%; text-align: right; margin: 0 10px 10px 0; }
	#txta { width: 80%; height: 350px; resize: none; }
	.dragup { vertical-align: top; }
	button { margin: 10px; }
</style>		
<div id="content">
	<h2>게시판 수정하기</h2>
	<form name="b" method="post">
		<div><label for="title">제목</label>
			<input type="text" name="title" id="title" value="${ b.title }" />
		</div>
		<div>
			<label for="uid">작성자</label>
			<input type="text" name="uid" id="uid" value="${ b.uid }" />
		</div>
		<div>
			<label for="contents" class="dragup">본문</label>
			<textarea name="contents" id="contents" cols="65" rows="15">${ b.contents }</textarea>
		</div>
		<div>
			<label></label>
			<button type="submit">수정완료</button><button type="reset">다시입력</button>
		</div>
		<input type="hidden" name="bdno" value="${ b.bdno }" />
	</form>
</div> <!-- content -->